const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  token: state => state.user.token,
  name: state => state.user.userInfo.name,  // 部门名称
  levelId : state => state.user.userInfo.levelId,
  departmentId: state => state.user.userInfo.id,
  routes: state => state.user.routes
}
export default getters
